const path = require('path')
const express = require('express')

const app = express()

app.use(express.static(path.join(__dirname, 'www')))

app.use((req, res) => {
  res.sendFile(path.join(__dirname, 'www/index.html'))
})

app.listen(3080)